YandexCheckout\Request\Payments\CreatePaymentRequest B

Total Complexity 81
Dependencies 11
Dependents 5
Total lines 520
Lines of code 230
Logical lines of code 98
Comment lines 193
Methods 35
Properties 11

Methods 35

Method Rating Maintainability Complexity Lines of code
setMetadata()
A
57 8 16
validate()
S
56 7 21
setDescription()
S
57 5 17
setPaymentToken()
S
57 5 17
setConfirmation()
S
60 5 14
setPaymentMethodData()
S
60 5 14
setRecipient()
S
64 5 9
setSavePaymentMethod()
S
60 4 14
setPaymentMethodId()
S
60 4 14
setCapture()
S
62 4 11
setClientIp()
S
62 4 11
hasMetadata()
S
78 2 3
hasCapture()
S
80 1 3
getClientIp()
S
82 1 3
setAirline()
S
81 1 3
hasClientIp()
S
80 1 3
getAirline()
S
82 1 3
hasAirline()
S
81 1 3
getMetadata()
S
82 1 3
getCapture()
S
82 1 3
getRecipient()
S
82 1 3
hasSavePaymentMethod()
S
80 1 3
getSavePaymentMethod()
S
82 1 3
hasRecipient()
S
80 1 3
hasConfirmation()
S
80 1 3
getConfirmation()
S
82 1 3
hasPaymentMethodData()
S
80 1 3
getPaymentMethodData()
S
82 1 3
hasPaymentMethodId()
S
80 1 3
getPaymentMethodId()
S
82 1 3
hasPaymentToken()
S
80 1 3
getPaymentToken()
S
82 1 3
hasDescription()
S
80 1 3
getDescription()
S
82 1 3
builder()
S
80 1 3